<?php
require_once ("main/load_view.php");
require_once (MODEL_PATH . "foreverpo/song.php");

$songAlias = "Chua_ai";
if(isset($_GET["s"])) {
	$songAlias = $_GET["s"];
}

$song = Song::getSongByAlias($songAlias);


load_head($songAlias);
load_header();
load_tab();
load_content();


/**
 * 
 * Send data to view
 * Everyname can be used here ($data, $donnee...) 
 * but in view, only use $data to recuperer. 
 * It's up to function load_view
 */
 
$data["song"] = $song;
$path = VIEW_PATH."foreverpo/song/view_song.php";
load_view($path, $data);


load_footer();
?>






